﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;

namespace DotNetX
{
    /// <summary>
    /// This creates various regexes
    /// </summary>
    public static class RegexCreator
    {
        /// <summary>
        /// This creates a regex that is based upon an E-Mail address
        /// </summary>
        /// <returns>A regex based upon an E-Mail</returns>
        public static Regex CreateEMailRegex()
        {
            // create the regex
            return new Regex(RegexStrings.EMail);
        }
    }
}
